import { $t } from '@vben/locales'
import {
    EnumcooperationType,
    EnumdeliveryStatus,
    EnumfeedbackType,
    EnumreplyStatus
} from '../enum/operation'
/**
 * 结算状态 1 已经结算 0 未结算
 */
export const settlementTypeOptions = [
    {
        label: $t('options.serviceType.children.problemFeedback'),
        value: EnumfeedbackType.PROBLEM_FEEDBACK
    },
    {
        label: $t('options.serviceType.children.usageSuggestion'),
        value: EnumfeedbackType.USAGE_SUGGESTION
    },
    {
        label: $t('options.serviceType.children.other'),
        value: EnumfeedbackType.OTHER
    }
]
/**
 * 回复处理状态：1：待受理 2：已受理
 */
export const replyStatusOptions = [
    {
        label: $t('options.replyStatus.children.waitAccept'),
        value: EnumreplyStatus.WAIT_ACCEPT
    },
    {
        label: $t('options.replyStatus.children.accepted'),
        value: EnumreplyStatus.ACCEPTED
    }
]
/**
 * 交付状态：0 未交付 1 已交付
 */
export const deliveryStatusOptions = [
    {
        label: $t('options.deliveryStatus.children.notDelivered'),
        value: EnumdeliveryStatus.NOT_DELIVERED
    },
    {
        label: $t('options.deliveryStatus.children.delivered'),
        value: EnumdeliveryStatus.DELIVERED
    }
]
/**
 * 合作关系选项
 */
export const cooperationTypeOptions = [
    {
        label: $t('options.cooperationType.children.cooperate'),
        value: EnumcooperationType.COOPERATE
    },
    {
        label: $t('options.cooperationType.children.terminate'),
        value: EnumcooperationType.TERMINATE
    }
]
